package com.orange.cetback.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author chenenjun
 * @since 2025-04-02
 */
@Data
@Builder
@TableName("user_medal")
public class UserMedal implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_medal_id", type = IdType.AUTO)
    private Long userMedalId;

    private Long userId;

    private Long medalId;

    private LocalDateTime obtainTime;
}
